<?php
/*
	监听电商客订单状态变更事件
*/
defined('BY_JYA') or exit('error');
$type=$event['type'];
$order=$event['order'];
if(!$type){
	return;
}
if($type=='pay'){
	//付款事件
	$this->model('team')->upteam($order);
}
if($type=='send_goods'){
	//发货	
}
if($type=='receive_goods'){
	//收货	
}
